import {postData,getData} from "./http";

export const selectAllUser = (data) => postData(`/user/selectAllUser`, data);

export const deleteUserById = (data) =>postData(`/user/deleteUserById`, data);

export const changeUserById = (data) => postData(`/user/changeUserById`, data);

export const addUser = (data) => postData(`/user/addUser`, data);

export const selectUser = (data) => postData(`/user/selectUser`, data);

export const getAllUser = () => getData(`/user/getAll`);
